package com.yequan.work;

import java.text.ParseException;

/**
 * @author yequan
 * @date 2021/05/20 11:13
 **/
public class RideHisEntityDemo {

    public static void main(String[] args) throws ParseException {
        RideHisEntity rideHisEntity = new RideHisEntity();
        rideHisEntity.setMonth(6);
        rideHisEntity.setBusinessId(1L);
        rideHisEntity.setPassengerId(1);
        rideHisEntity.setDriverId(2);
        rideHisEntity.setType((byte) 1);
        rideHisEntity.setRideType((byte) 6);
        rideHisEntity.setPlanStartTime(DateUtil.string2Date("20220302120000"));
        rideHisEntity.setState(1);
        rideHisEntity.setSourceCid("dida");

        System.out.println(JsonMapper.toJson(rideHisEntity));

        String data ="{\"businessId\":1,\"driverId\":2,\"month\":6,\"passengerId\":1,\"planStartTime\":1646193600000,\"rideType\":6,\"sourceCid\":\"dida\",\"state\":1,\"type\":1}";
    }

}
